home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / bumpcopter2.swf / scripts / frame_31 / PlaceObject2_439_24 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  300 b   |  12 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.copter) && die == false && _root.copter._currentframe == 1)
  3.    {
  4.       _root.health.nextFrame();
  5.       this.nextFrame();
  6.       _root.xSpeed = - _root.xSpeed;
  7.       _root.health.nextFrame();
  8.       _root.ySpeed = 3;
  9.       die = true;
  10.    }
  11. }
  12.